<!DOCTYPE html>
<html class="client-nojs vector-feature-night-mode-disabled vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-sticky-header-enabled" lang="en" dir="ltr"><head>
<meta charset="UTF-8">
<title>Protocol data unit</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" href="https://en.wikipedia.org/wiki/Protocol_data_unit"> <link href="./mw/ext.cite.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/user.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./mw/site.styles.css">
<link rel="stylesheet" type="text/css" href="./mw/noscript.css">
<link rel="stylesheet" type="text/css" href="./footer.css">
<link rel="stylesheet" type="text/css" href="./vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-Protocol_data_unit rootpage-Protocol_data_unit skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading">
<span id="openzim-page-title" class="mw-page-title-main"><span class="mw-page-title-main">Protocol data unit</span></span>
</h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="en" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr">
<p class="mw-empty-elt">
</p>
<style data-mw-deduplicate="TemplateStyles:r1251242444">
/* start https://en.wikipedia.org/ */
.mw-parser-output .ambox{border:1px solid #a2a9b1;border-left:10px solid #36c;background-color:#fbfbfb;box-sizing:border-box}.mw-parser-output .ambox+link+.ambox,.mw-parser-output .ambox+link+style+.ambox,.mw-parser-output .ambox+link+link+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+style+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+link+.ambox{margin-top:-1px}html body.mediawiki .mw-parser-output .ambox.mbox-small-left{margin:4px 1em 4px 0;overflow:hidden;width:238px;border-collapse:collapse;font-size:88%;line-height:1.25em}.mw-parser-output .ambox-speedy{border-left:10px solid #b32424;background-color:#fee7e6}.mw-parser-output .ambox-delete{border-left:10px solid #b32424}.mw-parser-output .ambox-content{border-left:10px solid #f28500}.mw-parser-output .ambox-style{border-left:10px solid #fc3}.mw-parser-output .ambox-move{border-left:10px solid #9932cc}.mw-parser-output .ambox-protection{border-left:10px solid #a2a9b1}.mw-parser-output .ambox .mbox-text{border:none;padding:0.25em 0.5em;width:100%}.mw-parser-output .ambox .mbox-image{border:none;padding:2px 0 2px 0.5em;text-align:center}.mw-parser-output .ambox .mbox-imageright{border:none;padding:2px 0.5em 2px 0;text-align:center}.mw-parser-output .ambox .mbox-empty-cell{border:none;padding:0;width:1px}.mw-parser-output .ambox .mbox-image-div{width:52px}@media(min-width:720px){.mw-parser-output .ambox{margin:0 10%}}@media print{body.ns-0 .mw-parser-output .ambox{display:none!important}}
/* end https://en.wikipedia.org/ */
</style>
<p>In <a href="Telecommunications" title="Telecommunications">telecommunications</a>, a <b>protocol data unit</b> (<b>PDU</b>) is a single unit of information transmitted among peer entities of a <a href="Computer_network" title="Computer network">computer network</a>. It is composed of protocol-specific control information and <a href="Payload_(computing)" title="Payload (computing)">user data</a>. In the layered architectures of <a href="Communication_protocol" title="Communication protocol">communication protocol</a> stacks, each layer implements protocols tailored to the specific type or mode of data exchange.
</p><p>For example, the <a href="Transmission_Control_Protocol" title="Transmission Control Protocol">Transmission Control Protocol</a> (TCP) implements a connection-oriented transfer mode, and the PDU of this protocol is called a <i>segment</i>, while the <a href="User_Datagram_Protocol" title="User Datagram Protocol">User Datagram Protocol</a> (UDP) uses <a href="Datagram" title="Datagram">datagrams</a> as protocol data units for <a href="Connectionless_communication" title="Connectionless communication">connectionless communication</a>. A layer lower in the <a href="Internet_protocol_suite" title="Internet protocol suite">Internet protocol suite</a>, at the <a href="Internet_layer" title="Internet layer">Internet layer</a>, the PDU is called a <a href="Network_packet" title="Network packet">packet</a>, irrespective of its payload type.
</p>
<meta property="mw:PageProp/toc">
<div class="mw-heading mw-heading2"><h2 id="Packet-switched_data_networks">Packet-switched data networks</h2></div>
<p>In the context of <a href="Packet_switching" title="Packet switching">packet switching</a> data networks, a protocol data unit (PDU) is best understood in relation to a <a href="Service_data_unit" title="Service data unit">service data unit</a> (SDU).
</p><p>The features or services of the network are implemented in distinct <i>layers</i>. The physical layer sends ones and zeros across a wire or fiber. The data link layer then organizes these ones and zeros into chunks of data and gets them safely to the right place on the wire. The network layer transmits the organized data over multiple connected networks, and the transport layer delivers the data to the right software application at the destination.
</p><p>Between the layers (and between the application and the top-most layer), the layers pass service data units (SDUs) across interfaces. The higher layer understands the structure of the data in the SDU, but the lower layer at the interface does not; moreover, the lower layer treats the SDU as the <a href="Payload_(computing)" title="Payload (computing)">payload</a>, undertaking to get it to the same interface at the destination. In order to do this, the <i>protocol</i> (lower) layer will add to the SDU certain data it needs to perform its function, which is called <a href="Encapsulation_(networking)" title="Encapsulation (networking)">encapsulation</a>. For example, it might add a port number to identify the application, a network address to help with routing, a code to identify the type of data in the packet and error-checking information. All this additional information, plus the original service data unit from the higher layer, constitutes the <i>protocol data unit</i> at this layer.
</p><p>The SDU and metadata added by the lower layer can be larger than the maximum size of that layer's PDU (known as the <a href="Maximum_transmission_unit" title="Maximum transmission unit">maximum transmission unit</a>; MTU). When this is the case, the PDU must be split into multiple payloads of a size suitable for transmission or processing by the lower layer, a process known as <a href="IP_fragmentation" title="IP fragmentation">IP fragmentation</a>.
</p><p>The significance of this is that the PDU is the structured information that is passed to a matching protocol layer further along on the data's journey that allows the layer to deliver its intended function or service. The matching layer, or "peer", decodes the data to extract the original service data unit, decide if it is error-free and where to send it next, etc. Unless we have already arrived at the lowest (physical) layer, the PDU is passed to the peer using services of the next lower layer in the protocol "stack". When the PDU passes over the interface from the layer that constructed it to the layer that merely delivers it (and therefore does not understand its internal structure), it becomes a service data unit to that layer. The addition of addressing and control information (encapsulation) to an SDU to form a PDU and the passing of that PDU to the next lower layer as an SDU repeats until the lowest layer is reached and the data passes over some medium as a physical signal.
</p><p>The above process can be likened to the mail system in which a letter (SDU) is placed in an envelope on which an address (addressing and control information) is written, making it a PDU. The sending post office might look only at the postcode and place the letter in a mailbag so that the address on the envelope can no longer be seen, making it now an SDU. The mailbag is labeled with the destination postcode and so becomes a PDU until it is combined with other bags in a crate when it is now an SDU, and the crate is labeled with the region to which all the bags are to be sent, making the crate a PDU. When the crate reaches the destination matching its label, it is opened and the bags (SDUs) removed only to become PDUs when someone reads the code of the destination post office. The letters themselves are SDUs when the bags are opened but become PDUs when the address is read for final delivery. When the addressee finally opens the envelope, the top-level SDU, the letter itself, emerges.
</p>
<div class="mw-heading mw-heading2"><h2 id="Examples">Examples</h2></div>
<div class="mw-heading mw-heading3"><h3 id="OSI_model">OSI model</h3></div>
<p>Protocol data units of the <a href="OSI_model" title="OSI model">OSI model</a> are:<sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup>
</p>
<ul><li>The Layer 4: <a href="Transport_layer" title="Transport layer">transport layer</a> PDU is the <a href="Packet_segmentation" title="Packet segmentation">segment</a>.</li>
<li>The Layer 3: <a href="Network_layer" title="Network layer">network layer</a> PDU is the <a href="Network_packet" title="Network packet">packet</a> or the <a href="Datagram" title="Datagram">datagram</a>.<sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup></li>
<li>The Layer 2: <a href="Data_link_layer" title="Data link layer">data link layer</a> PDU is the <a href="Frame_(networking)" title="Frame (networking)">frame</a>.</li>
<li>The Layer 1: <a href="Physical_layer" title="Physical layer">physical layer</a> PDU is the <a href="Bit" title="Bit">bit</a> or, more generally, <a href="Symbol_(data)" class="mw-redirect" title="Symbol (data)">symbol</a>.</li></ul>
<p>Given a context pertaining to a specific OSI layer, <i>PDU</i> is sometimes used as a synonym for its representation at that layer.
</p>
<div class="mw-heading mw-heading3"><h3 id="Internet_protocol_suite">Internet protocol suite</h3></div>
<p>Protocol data units for the <a href="Internet_protocol_suite" title="Internet protocol suite">Internet protocol suite</a> are:
</p>
<ul><li>The <a href="Transport_layer" title="Transport layer">transport layer</a> PDU is the <a href="TCP_segment" class="mw-redirect" title="TCP segment">TCP segment</a> for TCP, and the datagram for UDP</li>
<li>The <a href="Internet_layer" title="Internet layer">Internet layer</a> PDU is the <a href="Network_packet" title="Network packet">packet</a>.</li>
<li>The <a href="Link_layer" title="Link layer">link layer</a> PDU is the <a href="Frame_(networking)" title="Frame (networking)">frame</a>.</li></ul>
<p>On TCP/IP over Ethernet, the data on the physical layer is carried in <a href="Ethernet_frame" title="Ethernet frame">Ethernet frames</a>.
</p>
<div class="mw-heading mw-heading3"><h3 id="Internetwork_packet_exchange_(IPX)">Internetwork packet exchange (IPX)</h3></div>
<ul><li>For <a href="IPX" class="mw-redirect" title="IPX">IPX</a>, the IPX packet is the network layer PDU for IPX, and can simultaneously be used in the transport layer as well.</li>
<li>The SPX packet on top of IPX, is a transport layer PDU.</li>
<li>The link-layer PDU is the frame.</li></ul>
<div class="mw-heading mw-heading3"><h3 id="ATM">ATM</h3></div>
<p>The data link layer PDU in <a href="Asynchronous_Transfer_Mode" title="Asynchronous Transfer Mode">Asynchronous Transfer Mode</a> (ATM) networks is called a <i>cell</i>.
</p><p>
</p>
<div class="mw-heading mw-heading3"><h3 id="Media_access_control_protocol_data_unit">Media access control protocol data unit</h3></div>
<p>A <b>media access control protocol data unit</b> (<b>MAC PDU</b> or <b>MPDU</b>) is a message that is exchanged between <a href="Media_access_control" class="mw-redirect" title="Media access control">media access control</a> (MAC) entities in a communication system based on the layered OSI model.<sup id="cite_ref-:0_3-0" class="reference"><a href="#cite_note-:0-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup>
</p><p>In systems where the MPDU may be larger than the MAC service data unit (MSDU), the MPDU may <i>include</i> multiple MSDUs as a result of <a href="Packet_aggregation" title="Packet aggregation">packet aggregation</a>. In systems where the MPDU is smaller than the MSDU, then one MSDU may <i>generate</i> multiple MPDUs as a result of <a href="Packet_segmentation" title="Packet segmentation">packet segmentation</a>.<sup id="cite_ref-:0_3-1" class="reference"><a href="#cite_note-:0-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading2"><h2 id="See_also">See also</h2></div>
<ul><li><a href="Distributed_Interactive_Simulation#Protocol_data_units" title="Distributed Interactive Simulation">Distributed Interactive Simulation § Protocol data units</a></li>
<li><a href="IP_fragmentation" title="IP fragmentation">IP fragmentation</a></li>
<li><a href="Smart_card_application_protocol_data_unit" title="Smart card application protocol data unit">Smart card application protocol data unit</a></li>
<li><a href="Transaction_Protocol_Data_Unit" title="Transaction Protocol Data Unit">Transaction Protocol Data Unit</a></li></ul>
<div class="mw-heading mw-heading2"><h2 id="References">References</h2></div>
<style data-mw-deduplicate="TemplateStyles:r1239543626">
/* start https://en.wikipedia.org/ */
.mw-parser-output .reflist{margin-bottom:0.5em;list-style-type:decimal}@media screen{.mw-parser-output .reflist{font-size:90%}}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}
/* end https://en.wikipedia.org/ */
</style><div class="reflist">
<div class="mw-references-wrap"><ol class="references">
<li id="cite_note-1"><span class="mw-cite-backlink"><b><a href="#cite_ref-1">^</a></b></span> <span class="reference-text"><style data-mw-deduplicate="TemplateStyles:r1238218222">
/* start https://en.wikipedia.org/ */
.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("./mw/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("./mw/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("./mw/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("./mw/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}
/* end https://en.wikipedia.org/ */
</style><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://www.tcpipguide.com/free/t_DataEncapsulationProtocolDataUnitsPDUsandServiceDa.htm">"Data Encapsulation, Protocol Data Units (PDUs) and Service Data Units (SDUs)"</a>. <i>The TCP/IP Guide</i><span class="reference-accessdate">. Retrieved <span class="nowrap">April 5,</span> 2012</span>.</cite></span>
</li>
<li id="cite_note-2"><span class="mw-cite-backlink"><b><a href="#cite_ref-2">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.cloudflare.com/learning/network-layer/what-is-a-packet/">"What is a packet? | Network packet definition"</a>. <i>Cloudflare</i>.</cite></span>
</li>
<li id="cite_note-:0-3"><span class="mw-cite-backlink">^ <a href="#cite_ref-:0_3-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-:0_3-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://www.comlab.hut.fi/opetus/4210/presentations/37_wimax_mac.pdf">"Wimax MAC-Upperlayer Services"</a> <span class="cs1-format">(PDF)</span>. <i>www.comlab.hut.fi</i>. 2006. pp. <span class="nowrap">12–</span>15. <a rel="nofollow" class="external text" href="https://ghostarchive.org/archive/20221009/http://www.comlab.hut.fi/opetus/4210/presentations/37_wimax_mac.pdf">Archived</a> <span class="cs1-format">(PDF)</span> from the original on October 9, 2022.</cite></span>
</li>
</ol></div></div>
<div class="mw-heading mw-heading2"><h2 id="Further_reading">Further reading</h2></div>
<ul><li><cite id="CITEREFAlani2014" class="citation book cs1">Alani, Mohammed M. (2014). <i>Guide to OSI and TCP/IP models</i>. Cham: Springer. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a> <bdi>9783319051529</bdi>.</cite></li>
<li><cite id="CITEREFWetteroth2001" class="citation book cs1">Wetteroth, Debbra (November 27, 2001). <i>OSI Reference Model for Telecommunications</i> (Illustrated ed.). McGraw-Hill Professional Publishing. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a> <bdi>978-0-07-138041-6</bdi>.</cite></li></ul>
<div class="mw-heading mw-heading2"><h2 id="External_links">External links</h2></div>
<ul><li><a rel="nofollow" class="external text" href="http://www.cl.cam.ac.uk/~mgk25/osi-faq.txt">comp.protocols.iso FAQ</a> (search for "PDU")</li>
<li><a rel="nofollow" class="external text" href="https://www.techtarget.com/searchnetworking/definition/protocol-data-unit-PDU">protocol data unit (PDU)</a></li></ul></div><!--htdig_noindex--><div><div class="zim-footer">
This article is issued from <a class="external text" title="Last edited on 2025-03-28" href="https://en.wikipedia.org/wiki/?title=Protocol_data_unit&oldid=1282778975">Wikipedia</a>. The text is available under <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Creative Commons Attribution-Share Alike 4.0</a> unless otherwise noted. Additional terms may apply for the media files.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>
</body></html>